#################################
####### GENERAL PARAMETERS ######
#################################
max_step = 250
amr.n_cell =  672 672
amr.max_grid_size = 512
amr.blocking_factor = 32
amr.max_level = 0
geometry.dims = 2
geometry.prob_lo     = -25.e-6  -25.0e-6     # physical domain
geometry.prob_hi     =  25.e-6   25.e-6
warpx.verbose = 1
warpx.serialize_initial_conditions = 1

#################################
####### Boundary condition ######
#################################
boundary.field_lo = periodic periodic
boundary.field_hi = periodic periodic

#################################
############ NUMERICS ###########
#################################
warpx.cfl = 0.98
warpx.use_filter = 0
algo.maxwell_solver = ckc
algo.load_balance_intervals = -1

# Order of particle shape factors
algo.particle_shape = 3

#################################
############# LASER #############
#################################
lasers.names        = txye_laser
txye_laser.position     = 0. 0. 0. # This point is on the laser plane
txye_laser.direction    = 1. 0. 1.     # The plane normal direction
txye_laser.polarization = 0. 1. 0.     # The main polarization vector
txye_laser.e_max        = 1.e12        # Maximum amplitude of the laser field (in V/m)
txye_laser.wavelength = 1.0e-6         # The wavelength of the laser (in meters)
txye_laser.profile      = from_txye_file
txye_laser.txye_file_name = "gauss_2d_unf.txye"
txye_laser.time_chunk_size = 50
txye_laser.delay = 0.0

# Diagnostics
diagnostics.diags_names = diag1
diag1.intervals = 250
diag1.diag_type = Full
